package com.song.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {

    @RequestMapping("${api.version}/index")
    public String index(){
        return "index";
    }


    // 跳转到web主页
    @RequestMapping("${api.version}/webIndex")
    public String webIndex(){
        return "webIndex";
    }


    // 跳转到boot主页
    @RequestMapping("${api.version}/bootIndex")
    public String bootIndex(){
        return "bootIndex";
    }

}
